package org.dromara.work.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;

/**
 * 业务协同备案审批业务对象
 *
 * @author Chen
 * @date 2024-01-18
 */

@Data
public class BeianAuditSaveBo implements Serializable {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 要素编码
     */
    @NotBlank(message = "要素编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     * 名称
     */
   @NotBlank(message = "名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 生效时间
     */
   @NotNull(message = "生效时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date sxsj;

    /**
     * 流水号
     */
   @NotBlank(message = "流水号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lsh;

    /**
     * 经办人部门
     */
    @NotBlank(message = "经办人部门不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jbrDepart;

    /**
     * 经办人姓名
     */
    @NotBlank(message = "经办人姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jbrName;

    /**
     * 行政区划代码
     */
   @NotBlank(message = "行政区划代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xzqhdm;

    /**
     * 类型（街路巷、小区、建筑物）
     */
   @NotBlank(message = "用地面积", groups = { AddGroup.class, EditGroup.class })
    private String ydmj;

    /**
     * 备注
     */
    private String remark;

    /**
     * 用地位置
     */
    private String ydwz;


    /**
     * 项目代码
     */
    private String xmdm;


    /**
     * 推送部门
     */
    @NotBlank(message = "推送部门不能为空", groups = { AddGroup.class, EditGroup.class })
    private String tsDepart;


}
